<?php
	
	namespace Aspic\Form\Element;
	
	/**
	 * Use for each element of a form that could return an unique data
	 * Advanced form elements that extends the container class have to 
	 * implement this interface to tell that they should be treated as a whole
	 */
	interface DataElementInterface extends NamedElementInterface, MappableElementInterface {
		
		public function getValue(array $formData = null);
		
		public function bind(array $formData = null);
		
	}